package com.newworld.goldcard;

import android.content.Intent;

import com.newworld.goldcard.base.BaseActivity;
import com.newworld.goldcard.databinding.ActivityMainBinding;
import com.newworld.goldcard.ui.LoginActivity;

public class MainActivity extends BaseActivity<ActivityMainBinding> {

    @Override
    protected int getLayoutId() {
        isSwipe = false;
        return R.layout.activity_main;
    }

    @Override
    protected void initView() {
        mBinding.test.setText("目前阶段技术为根基");
        mBinding.test2.setOnClickListener((view) -> startActivity(new Intent(getApplicationContext(), LoginActivity.class)));
    }
}
